package com.tunxing.行为型.责任链设计模式2;

public class Handler2 extends AbstractHandler {

    @Override
    public void handleRequest(Request request) {
        System.out.println("==============执行处理器2=====================");
        if (nextHandler != null){
            nextHandler.handleRequest(request);
        }

    }

}
